<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>分页</title>
    //引入jquery类库
    <script type="text/javascript" src="js/jquery-3.3.1.js"></script>
    <script type="text/javascript">
        //页面载入函数
        $(fuction()
        {
            //默认显示第一页
            myf('a');
        }
        )
        //扩大作用域
        var pageIndex;
        var max;
        funtion
        myf(type)
        {
            if (type == 'b') {

            }
        }
    </script>
</head>

<body>

</body>
</html>
